package com.ledi.guns.modular.system.warpper;

import java.util.List;
import java.util.Map;

import com.ledi.guns.common.constant.factory.ConstantFactory;
import com.ledi.guns.core.base.warpper.BaseControllerWarpper;

/**
 * 路由列表的包装类
 *
 * @author fengshuonan
 * @date 2017年2月19日10:59:02
 */
public class RoutesWarpper extends BaseControllerWarpper {

	public RoutesWarpper(List<Map<String, Object>> list) {

		super(list);
	}

	@Override
	public void warpTheMap(Map<String, Object> map) {

		map.put("pName", ConstantFactory.me().getSingleRoutesName((Long) map.get("pid")));
	}

}
